Categories and Severity Levels |
|
Process Platform provides a classification of error messages that enables the developer to categorize the error messages and also assign an appropriate severity level to the same. Some log categories are provided to the user as default categories. The developers may register and use custom categories apart from those provided by Process Platform. This has been explained in Configuration Parameters for Custom Application Connectors.
Severities
Severity levels can be assigned to the categories during Service Container configuration. Each log category falls into a defined severity level. Severities allow filtering the log message for each category. For example, the severity level for category com.eibus.security.acl could be 'Fatal', while that for com.eibus.license could be 'Warn'.
The following severity levels are defined for each category:
Severity |
Description |
---|---|
Debug |
Log messages for developers and support personnel for debugging the application and detecting the cause for the error. |
Info |
Log messages for the operators. For each application connector, try to log requests and responses with severity information. |
Warn |
Log messages for errors caused by incorrect user inputs and ignorable errors. |
Error |
Log messages for exceptions and errors |
Fatal |
Log messages for critical errors, Service Container being stopped, application crashing, and so on. |
Note:
- The framework supports severity levels higher than that configured. For example, if the severity level is configured to Warn, the logger logs all the Severities that are higher than Warn.
- If the severity of type Info is enabled for each application connector, the request and response is logged in that context.
Categories
Default categories provided by Process Platform are:
- ACL
- License
- LDAP
- SOAP Framework
- SOAP Message
- Transport
- Tools
- Util
All classes that fall under these packages will be logged based on the severity levels. Here are the logger details under each category:
Category | Package Name |
---|---|
ACL |
com.eibus.security.acl - This package is used for ACL evaluation |
License |
com.eibus.license - This package is used for License check |
LDAP |
com.eibus.directory - This package is used for LDAP Operations |
SOAP Framework |
com.eibus.transport.SOAPMessage (Class Name) - This package is used for monitoring request / response |
SOAP Message |
com.eibus.soap - This package is used to track request / response transaction |
Transport |
com.eibus.transport - This package is used for monitoring request / response on bus |
Tools |
com.eibus.tools |
Util |
com.eibus.util - Basic utilities used during the running of Service Container |